﻿<%@ Control Language="c#" AutoEventWireup="false"  Inherits="Web.Control.WWW.Files.Topmembers" %>
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1><%=GetText("SF031")%></h1>
							</div>
							<div class="submenuN_button"><a class="naddbtn btnspec" href="/files/upload.htm"><span>&nbsp;&nbsp;&nbsp;<%=GetText("SF203")%>&nbsp;&nbsp;&nbsp;</span></a></div>
						</div>
					</div>
				</div>
				<div class="Center9001n">
					<div class="Center9001Right">
						<div class="center9001content">
							<div class="files_area">
								<div><%=GetText("C0016")%> <select id="LanLearn" class="common180" name="Learning"onchange="javascript:location.href='/files/top/learn-'+document.getElementById('LanLearn').value+'-'+document.getElementById('LanSpeak').value+'.htm';"><option value="all" selected><%=GetText("C0028")%></option><%=GetLanguageSelect(LL)%></select>&nbsp;&nbsp;&nbsp;&nbsp;<%=GetText("AS091")%> <select id="LanSpeak" class="common180" name="Learning"onchange="javascript:location.href='/files/top/learn-'+document.getElementById('LanLearn').value+'-'+document.getElementById('LanSpeak').value+'.htm';"><option value="all" selected><%=GetText("C0028")%></option><%=GetLanguageSelect(BL)%></select></div>									
								<div class="content628 margin20T">							
									<!--data loop started-->
									<asp:Repeater ID="rptTopMember" runat="server">
										<ItemTemplate>    
										<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:10px;padding-bottom:10px;border-bottom:1px #eee solid;overflow:hidden">
											<tr>
												<td width="10%"><div class="pic50"><a class="Photo_50" href="<%#LoginHost%>/<%#Eval("MemberNo") %>.htm" title="<%#HttpUtility.HtmlAttributeEncode(Eval("Nickname").ToString()) %>"><%#Eval("Avatar").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" />" : Eval("Avatar", "<img src=\"{0}\" />").ToString()%></a></div></td>
												<td width="77%">
													<span class="text14"><a href="<%#LoginHost%>/<%#Eval("MemberNo") %>.htm" ><%#HttpUtility.HtmlEncode(Eval("Nickname").ToString())%></a></span>
													 <span class="grey11"><%#BLF.StaticData.GetCountryText(Eval("Nationality").ToString())%></span><br />
													 <%#GetText("C0005")%>: <strong><%#BLF.StaticData.GetLanguageText(Eval("MotherTongue").ToString())%><img src="/Images/Level5.gif" /><%#(Eval("MotherTongue2").ToString().Trim()=="")?"":", "+(BLF.StaticData.GetLanguageText(Eval("MotherTongue2").ToString())+Eval("motherTongue2Level","<img src=\"/Images/Level{0}.gif\" />"))%><%#(Eval("MotherTongue3").ToString().Trim() == "") ? "" : ", "+(BLF.StaticData.GetLanguageText(Eval("MotherTongue3").ToString()) + Eval("motherTongue3Level", "<img src=\"/Images/Level{0}.gif\" />"))%><%#(Eval("MotherTongue4").ToString().Trim() == "") ? "" : ", "+(BLF.StaticData.GetLanguageText(Eval("MotherTongue4").ToString()) + Eval("motherTongue4Level", "<img src=\"/Images/Level{0}.gif\" />"))%></strong><br />
													 <%#GetText("C0007")%>: <strong><%#(BLF.StaticData.GetLanguageText(Eval("TargetLanguage").ToString()) + Eval("TargetLanguageLevel", "<img src=\"/Images/Level{0}.gif\" />"))%><%#(Eval("TargetLanguage2").ToString().Trim()== "") ? "" : ", "+(BLF.StaticData.GetLanguageText(Eval("TargetLanguage2").ToString()) + Eval("TargetLanguage2Level", "<img src=\"/Images/Level{0}.gif\" />"))%><%#(Eval("TargetLanguage3").ToString().Trim()== "") ? "" : ", "+(BLF.StaticData.GetLanguageText(Eval("TargetLanguage3").ToString()) + Eval("TargetLanguage3Level", "<img src=\"/Images/Level{0}.gif\" />"))%><%#(Eval("TargetLanguage4").ToString().Trim()== "") ? "" : ", "+(BLF.StaticData.GetLanguageText(Eval("TargetLanguage4").ToString()) + Eval("TargetLanguage4Level", "<img src=\"/Images/Level{0}.gif\" />"))%></strong></td>
												<td width="13%" align="center"><%#GetText("SF032",new string[]{Eval("DocCount").ToString()})%></td>
											</tr>
										</table>
										</ItemTemplate>
									</asp:Repeater>										
									<!--data loop end-->
								</div>
							</div>
						</div>
					</div>
					<div class="Center9001Left">
						<div class="right_layerA">
						    <%if (rptPopFile.Items.Count>0) {%>	
							<div class="layer_contentA">						    
								<h4><%=GetText("SF003")%></h4>
								<div class="layer_contentA5">
									<!--data loop started-->
									<asp:Repeater ID="rptPopFile" runat="server">
									    <ItemTemplate>
									    <div class="right_file_list">
										    <div class="right_file_listPIC"><div class="picsp"><a class="photo_sp" href="<%#LoginHost%>/<%#Eval("MemberNo") %>.htm" ><%#Eval("Avatar").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" />" : Eval("Avatar", "<img src=\"{0}\" />").ToString()%></a></div></div>
										    <div class="right_file_listCON"><a href="<%#LoginHost%>/files/doc/<%#Eval("DocID").ToString()%>.htm"><%#HttpUtility.HtmlEncode(Eval("Title").ToString())%></a> <span class="grey12" dir="ltr">(<%#Eval("Views") %>)</span></div>
										    <div class="clear"></div>
									    </div>									
									  </ItemTemplate>
								    </asp:Repeater>	
									<!--data loop end-->
								<p align="right"><a href="<%=LoginHost%>/files/learn--/2-1.htm"><%=GetText("SF002")%></a></p>
								</div>
							</div>
							<%} %>
						</div>
						<div class="right_layerA">
						    <%if (rptLastestF.Items.Count>0) {%>	
							<div class="layer_contentA">							    
								<h4><%=GetText("SF001")%></h4>
								<div class="layer_contentA5">
									<!--data loop started-->
									<asp:Repeater ID="rptLastestF" runat="server">
									    <ItemTemplate>
									    <div class="right_file_list">
										    <div class="right_file_listPIC"><div class="picsp"><a class="photo_sp" href="<%#LoginHost%>/<%#Eval("MemberNo") %>.htm" ><%#Eval("Avatar").ToString() == "" ? "<img src=\"/Images/No_pic.gif\" />" : Eval("Avatar", "<img src=\"{0}\" />").ToString()%></a></div></div>
										    <div class="right_file_listCON"><a href="<%#LoginHost%>/files/doc/<%#Eval("DocID").ToString()%>.htm"><%#HttpUtility.HtmlEncode(Eval("Title").ToString())%></a></div>
										    <div class="clear"></div>
									    </div>
									    </ItemTemplate>
								    </asp:Repeater>											 	
									<!--data loop end-->
								<p align="right"><a href="<%=LoginHost%>/files/learn--/1-1.htm"><%=GetText("SF002")%></a></p>
								</div>
							</div>
							<%} %>
						</div>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>